#pragma once


// CAxOleMultiControl

class CAxOleMultiControl : public COleControl
{
	DECLARE_DYNAMIC(CAxOleMultiControl)

public:
	CAxOleMultiControl();
	virtual ~CAxOleMultiControl();

protected:
	DECLARE_MESSAGE_MAP()

public:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);

	int GetWindowWidth() { return m_cx; }
	int GetWindowHeight(){ return m_cy; }

private:
	CWinApp* m_pTheApp;
	int m_cx;
	int m_cy;

public:
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	virtual void OnDraw(CDC* pDC, const CRect& rcBounds, const CRect& rcInvalid);
	virtual BOOL OnSetObjectRects(LPCRECT lpRectPos, LPCRECT lpRectClip);
	afx_msg void OnPaint();


};


